package com.itheima.common.constants;

/**
 * 内容状态常量
 * 统一管理笔记、书评、评论等内容的状态常量
 * 
 * @author itheima
 */
public class ContentStatusConstants {

    /**
     * 笔记/书评/评论的发布状态
     */
    public static class PublishStatus {
        /** 待审核 */
        public static final Integer PENDING = 0;
        
        /** 审核通过 */
        public static final Integer APPROVED = 1;
        
        /** 审核拒绝 */
        public static final Integer REJECTED = 2;
    }

    /**
     * 审核状态（详细）
     */
    public static class AuditStatus {
        /** 待审核 */
        public static final int PENDING = 0;
        
        /** AI审核中 */
        public static final int AI_AUDITING = 1;
        
        /** 重试中 */
        public static final int RETRY = 2;
        
        /** AI审核通过 */
        public static final int AI_PASS = 3;
        
        /** AI审核不通过 */
        public static final int AI_REJECT = 4;
        
        /** 待人工审核 */
        public static final int MANUAL_PENDING = 5;
        
        /** 人工审核通过 */
        public static final int MANUAL_PASS = 6;
        
        /** 人工审核不通过 */
        public static final int MANUAL_REJECT = 7;
        
        /** 审核失败（系统异常） */
        public static final int FAILED = 8;
        
        /** 已取消 */
        public static final int CANCELLED = 9;
    }

    /**
     * 内容类型
     */
    public static class ContentType {
        /** 笔记 */
        public static final String NOTE = "note";
        
        /** 书评 */
        public static final String REVIEW = "review";
        
        /** 评论 */
        public static final String COMMENT = "comment";
        
        /** 用户头像 */
        public static final String AVATAR = "avatar";
        
        /** 用户昵称 */
        public static final String NICKNAME = "nickname";
    }

    /**
     * AI 审核建议
     */
    public static class AISuggestion {
        /** 通过 */
        public static final String PASS = "PASS";
        
        /** 需人工审核 */
        public static final String REVIEW = "REVIEW";
        
        /** 拒绝 */
        public static final String BLOCK = "BLOCK";
    }
}

